*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}
a:hover{
    text-decoration: none;
}

nav{
    background-color: #3097d1;
}
nav .navbar-brand img{
    width: 85px;
    height: 23px;
}
.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    color: #ffffff;

}
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: #ffffff;
}
.navbar-light .navbar-nav .nav-link {
    color:#d1e5ec;
}


main{
    background-color: #f5f8fa;
}
main .container{
    display: flex;
}
main .item-1{
    flex: 0 0 20%;
    margin-top: 29px;
}
main .item-1 .xia img{
    width: 100px;
    height: 100px;
    border-radius: 50px;
    border: 3px solid #ffffff;
}
main .item-1 .xia{
    text-align: center;
    margin-top: -50px;
}
main .item-1 .xia{
    padding: 0 28px 28px 28px;
}
main .top{
    border: 1px solid #d3e0e9;
    background-color: #ffffff;
}
main .about {
    padding: 18px 0 30px 15px;
    margin-top: 30px;
    border: 1px solid #d3e0e9;
    background-color: #ffffff;
}
main .photos img{
    width: 90px;
    height: 90px;
}
main .photos{
    padding: 18px 0 25px 15px;
    margin-top: 22px;
    border: 1px solid #d3e0e9;
    background-color: #ffffff;
}
main .photos img{
    margin-bottom: 10px;
    margin-right: 8px;
}






main .item-2{
    background-color: palevioletred;
    flex: 0 0 40%;
    margin: 29px 15px 100px 15px;
}
main .first-yi{
    border: 1px solid #d3e0e9;
    padding: 30px 20px 40px 25px;
    background-color: #ffffff;
}
main .first .tu{
    text-align: center;
}
main .first h5,.second h5,.third h5{
    display: inline-block;
}
main .first a,.second a,.third a{
    display: inline-block;
    color: #a3aeb2;
    float: right;
}
main .center img{
    width: 263px;
    height: 212px;
    margin-bottom: 12px;
    margin-right: 10px;
}
main .center .first span{
    font-weight: bold;
}
main .second{
    border: 1px solid #d3e0e9;
    border-top: none;
    padding: 30px 20px 40px 25px;
    background-color: #ffffff;
}
main .item-2 .center{
    margin: auto;
}
main .third span{
    font-weight: bold;
}
main .third img{
    width: 541px;
    height: 526px;
    margin-bottom: 30px;
}
main .third{
    border: 1px solid #d3e0e9;
    border-top: none;
    padding: 30px 20px 10px 25px;
    background-color: #ffffff;
}



main .item-3{
    flex: 0 0 20%;
    margin-top: 29px;
}
main .yi img{
    width: 245px;
    height: 229px;
}
main .yi h6{
    padding-top: 15px;
}
main .yi{
    padding: 16px 10px 25px 13px;
    border: 1px solid #d3e0e9;
    background-color: #ffffff;
}
main .yi h6{
    font-weight: 900;
}
main .yi a{
    border: 1px solid #2a88bd;
    border-radius: 3px;
    padding: 9px 10px;
    display: inline-block;
}
main .er img{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}
main .er .er-s{
    border: 1px solid #d3e0e9;
    padding: 30px 20px 10px 25px;
    background-color: #ffffff;
    margin-top: 30px;
}
main .er .er-s .jacob{
    display: flex;
    padding-bottom: 20px;
}
main .er .er-s .jacob span{
    font-weight: bold;
}
main .er .er-s .jacob a{
    border: 1px solid #2a88bd;
    border-radius: 3px;
    padding: 5px 20px;
}
main .er .er-xia{
    border: 1px solid #d3e0e9;
    border-top: none;
    padding: 30px 20px 10px 25px;
    background-color: #f5f8fa;
}



.footer-inner{
    background-color: #f5f8fa;
    border: 1px solid #cccccc;
}
.footer{
    padding-top: 55px;
    padding-bottom: 60px;
    text-align: center;
}
.footer .a{
    padding-right: 20px;
}

@media (max-width: 600px) {
    main .container {
        display: block;
    }
    main .photos img{
        width: 100%;
    }
    main .item-2{
        margin-left:0;
        margin-right: 0;
        margin-bottom: 50px;
    }
    main .third img{
        width: 100%;
        height: 212px;
    }
    main .yi{
        text-align: center;
    }
    main .photos,main .third{
        text-align: center;
    }
    .footer-inner{
       margin: 20px 15px 0 15px;
    }
    main .photos img{
        height: auto;
    }
}